Skip to content

How can I compile my components on a local server running in Docker? #9692

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
behtgod opened this issue Apr 29, 2025 · 2 comments
Open

How can I compile my components on a local server running in Docker? #9692

behtgod opened this issue Apr 29, 2025 · 2 comments

Comments

@behtgod
Copy link

behtgod commented Apr 29, 2025

Description

I ran a Bit server using Docker and exported my components to this server. When I open the main page of server, my components can't be previewed, and it seems like they haven't been compiled.

Image

How can I resolve this issue?

My components were created following official doc

Specifications

  • Bit version:1.9.124
  • Platform:Windows

Context and additional information

@itaymendel
Copy link
Contributor

hi, when you run your bit tag command, make sure to add --build, to run the build pipeline of your components. this generates the preview and all other assets.

@behtgod
Copy link
Author

behtgod commented May 22, 2025

@itaymendel I tried to run bit tag --build and then run bit export, it not works. Did I miss any steps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants